package com.always.electrical.energy.web.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 故障表
 */
@Data
@Accessors(chain = true)
@TableName("cj_gjsj")
public class CjGjsj implements Serializable {

    private BigDecimal id;

    // 终端id，和终端表主键对应
    private BigDecimal zdid;

    // 设备id，和设备表主键对应
    private BigDecimal yxdnbid;

    private LocalDateTime qzjssj;

    // 告警来源 1终端 2电表
    private String gjly;

    // 告警时间
    private LocalDateTime fssj;

    // 告警编码
    private String gjbm;

    // 告警名称
    private String gjmc;

    // 事件内容
    private String sjnr;

    private String bjfl;

    // 告警级别 1普通告警 2重要告警
    private String gjjb;

    private String gjfjsjx;

    private String sfwbbz;

    private BigDecimal gdid;

    private BigDecimal dxid;

    private String dxlx;

    private String gddwid;

    private BigDecimal gjclry;

    private LocalDateTime gjclsj;

    private String gjcljg;

    private String scgdbz;

    private BigDecimal scgdry;

    private LocalDateTime scgdsj;

    private Long sortcode;

    private String description;

    private Long enabled;

    private BigDecimal createorgid;

    private LocalDateTime createon;

    private BigDecimal createuser;

    private LocalDateTime modifiedon;

    private BigDecimal modifieduser;

    private Short tdhs;

    private String tdsj;
}
